package singleResponsibility;

/**
 * @Author: 蔡翔
 * @Date: 2019/11/8 17:25
 * @Version 1.0
 */
public class Mtthod {
    private void updateUserInfo(String userName,String address){
        userName = "geely";
        address = "beijing";
    }

    //不一定更新什么(参数不定)
    private void updateUserInfo(String userName,String... properties){
        userName = "geely";

    }
}
